
uniform sampler2D tex; 
uniform vec4 ambiant;
uniform vec4 dl0vec;
uniform vec4 dl0color;

centroid in vec4 npolar;
centroid in vec2 tcpolar;

out vec4 texel;

void main() 
{
	texel = dl0color * dot(-dl0vec, npolar) + ambiant;
}